var ip = "127.0.0.1" ;
var port = 8090 ;
var appname = ""
var serverBase = "http://" + ip + ":" + port + "/" + appname + "/" ;
function initNewsTypeOptions() {
    $.post(
        serverBase + "/team1/game" ,
        function(reqData) {
            if(200== reqData.errorCode) {
                var opts = '' ;
                $.each(reqData.data , function(index , item){
                    var temp = '<option value="'+item.gameid+'">'+item.typename+'</option>' ;
                    opts += temp ;
                })
                return opts ;
            }
        }
    )
}